/*
 * @Author: ✨Fireflx 
 * @Date: 2022-02-15 10:09:42 
 * @Last Modified by: ✨Fireflx
 * @Last Modified time: 2022-02-15 10:11:07
 */


const router = require('koa-router')()
const {user} = require('../controller')

router.prefix('/users')

router.post('/add',user.userAdd)
router.post('/update',user.userUpdate)
router.post('/del',user.userDel)
router.get('/find',user.userFind)
router.get('/find/:_id',user.userFindOne)

module.exports = router
